package com.lexue.dao;

import java.util.List;

import com.lexue.domain.Subject;

public interface ISubject {

	public abstract void save(Subject transientInstance);

	public abstract void delete(Subject persistentInstance);

	public abstract Subject findById(java.lang.Integer id);

	public abstract List findByExample(Subject instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findBySubjectName(Object subjectName);

	public abstract List findBySubjectPrice(Object subjectPrice);

	public abstract List findBySubjectTime(Object subjectTime);

	public abstract List findBySubjectWay(Object subjectWay);

	public abstract List findBySubjectState(Object subjectState);

	public abstract List findByOthers(Object others);

	public abstract List findAll();

	public abstract Subject merge(Subject detachedInstance);

	public abstract void attachDirty(Subject instance);

	public abstract void attachClean(Subject instance);

}